package ink.xiaobaibai.bo;

import lombok.Data;

/**
 * @description: 月费订单查询条件
 * @author: 小白白
 * @create: 2021-05-31
 **/

@Data
public class SelectMonOrderBo {

    //分页+订单id+用户id+机器id+机器码+订单状态

    private Integer pageNum = 1;

    private Integer pageSize = 20;

    private String orderId;

    private Integer userId;

    private Integer deviceId;

    private String deviceCode;

    private String status;

    private Integer adminUserId;

    private Integer depId;

    private Integer getLimitStart() {
        return (this.pageNum - 1) * this.pageSize;
    }

    private Integer getLimitEnd() {
        return this.pageSize;
    }

}
